﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Python
{
    class Rabbit
    {
        Point _rabbitPosition;
        public Point RabbitPosition { get { return _rabbitPosition; } }
        public Point snakeHeadCurrentPosition = new Point(0, 0); 

        
        public Rabbit(Point positionOfSnakeHead)
        {
            _rabbitPosition = new Point(0, 0);
            Depict drawRabbit = new Depict();
            Conf configuration = new Conf();
            RandomPositioner positionOfNewRabbit = new RandomPositioner(positionOfSnakeHead);
            _rabbitPosition.X = positionOfNewRabbit.X;
            _rabbitPosition.Y = positionOfNewRabbit.Y;
            drawRabbit.WriteAt("@", _rabbitPosition.X, _rabbitPosition.Y, configuration._origCol, configuration._origRow);            
        }
    }
}
